package zhxt.helmet;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import zhxt.helmet.utils.NettyServer;

@SpringBootApplication
@MapperScan("zhxt.helmet.dao")
public class HelmetApplication {


    public static void main(String[] args) {
        SpringApplication.run(HelmetApplication.class, args);
        try {
            NettyServer.start();

        }
        catch (Exception e) {
            e.printStackTrace();
        }
    }

}
